projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68cf67
)
ruleset.uc: consolidate ip and ip6 offload
author
Stijn Tintel
<
[email protected]
>
Fri, 7 Jan 2022 08:24:54 +0000
(10:24 +0200)
committer
Stijn Tintel
<
[email protected]
>
Sun, 9 Jan 2022 13:21:58 +0000
(15:21 +0200)
Remove the space before the comma while at it.
Signed-off-by: Stijn Tintel <
[email protected]
>
Reviewed-by: Jo-Philipp Wich <
[email protected]
>
root/usr/share/firewall4/templates/ruleset.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/firewall4/templates/ruleset.uc
b/root/usr/share/firewall4/templates/ruleset.uc
index 6b87a4910cd0493b13b3d48dad76e82f4d053dbc..bb792051bba860a86fd94772fa5410a0a6967aed 100644
(file)
--- a/
root/usr/share/firewall4/templates/ruleset.uc
+++ b/
root/usr/share/firewall4/templates/ruleset.uc
@@
-89,8
+89,7
@@
table inet fw4 {
type filter hook forward priority filter; policy {{ fw4.forward_policy(true) }};
{% if (fw4.default_option("flow_offloading") && length(devices) > 0): %}
- ip protocol { tcp , udp } flow offload @ft;
- ip6 nexthdr { tcp , udp } flow offload @ft;
+ meta l4proto { tcp, udp } flow offload @ft;
{% endif %}
ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
{% if (fw4.default_option("drop_invalid")): %}